<?php
class aboutMod extends commonMod{

	// 公司简介
	public function index(){

		
		$arr = __query("select * from {tabpre}about where classid=978 and `show`=1 and recover=0 ");
		$this->assign("det", $arr[0]['content']);
		$this->assign("itemname", '公司简介');
		$this->assign("nav_2", TRUE);
		
		$this->display('about_index');
	}

	// 经销商
	public function dealer(){

		$arr = __query("select * from {tabpre}about where classid=979 and `show`=1 and recover=0 ");
		$this->assign("det", $arr[0]['content']);
		$this->assign("itemname", '经销商');
		$this->assign("nav_4", TRUE);
		
		$this->display('about_index');
	}
	
	// 联系我们
	public function contact(){

		$arr = __query("select * from {tabpre}about where classid=980 and `show`=1 and recover=0 ");
		$this->assign("det", $arr[0]['content']);
		$this->assign("itemname", '联系我们');
		$this->assign("nav_5", TRUE);

		$this->display('about_index');
	}
}